package com.wch.sqlSession;

import com.wch.pojo.Configuration;
import com.wch.pojo.MappedStatement;

import java.sql.SQLException;
import java.util.List;

public interface Executor {
    public <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object... params) throws Exception;

    Boolean update(Configuration configuration, MappedStatement mappedStatement, Object... params)throws Exception;
}
